/**
 * 
 */
package domain.queue;

import java.util.concurrent.atomic.AtomicReference;


/**
 * @author igordv
 *
 */
public class QueueNode <E>{

    final E item;
    final AtomicReference<QueueNode<E>> next;

    public QueueNode(E item, QueueNode<E> next) {
        this.item = item;
        this.next = new AtomicReference<QueueNode<E>>(next);
    }
}